package com.xjtu.se.homework.client.faq.service.impl;

import com.xjtu.se.homework.client.faq.dao.ClientFaqDao;
import com.xjtu.se.homework.client.faq.dto.ClientFaqDto;
import com.xjtu.se.homework.client.faq.dto.ClientSearchDto;
import com.xjtu.se.homework.client.faq.service.ClientFaqService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class ClientFaqServiceImpl implements ClientFaqService {
    @Resource
    private ClientFaqDao clientFaqDao;
    @Override
    public List<ClientFaqDto> showAll(ClientSearchDto dto) {
        return clientFaqDao.showAll(dto);
    }
}
